import Layout from '@/views/layout/layout_manage'
import ManageIndex from '@/views/manage/index'
/*河湖管理Router */
const manageRouter = {
  path:'/manage',
  name:'manage',
  component:Layout,
  redirect:'/manage/info',
  meta: {
    requiresAuth: true
  },
  children:[
    {
      path:'/manage/info',   
      component:()=>import('@/views/manage/info_manage'),
      
    },
    {path:'/manage/sys',component:()=>import('@/views/manage/organize_sys')},
    {path:'/manage/parts',component:ManageIndex,redirect:'/manage/parts/index',
      children:[
      {path:'/manage/parts/index',component:()=>import('@/views/manage/river_parts/index')},
      // {path:'/manage/parts/class',component:()=>import('@/views/manage/river_parts/parts_class')},
      {path:'/manage/parts/manage',component:()=>import('@/views/manage/river_parts/parts_manage')},
    ]
    },
    {path:'/manage/bordbill',component:()=>import('@/views/manage/bordbill_info')},
    {path:'/manage/idea',component:()=>import('@/views/manage/a_river_idea')},
    {path:'/manage/setting',component:()=>import('@/views/manage/Monitoring_setting')},
    {path:'/manage/equip',component:ManageIndex,redirect:'/manage/equip/index',
      children:[
      {path:'/manage/equip/index',component:()=>import('@/views/manage/river_equip/index')},
      // {path:'/manage/equip/class',component:()=>import('@/views/manage/river_equip/equip_class')},
      {path:'/manage/equip/manage',component:()=>import('@/views/manage/river_equip/equip_manage')},
    ]},
  ]
}
export default manageRouter
